From: Karl Heuer Date: Mon, 15 Jul 1996 21:26:39 +0000 (+0000) Subject: [__GNU_LIBRARY__]: Use size_t for fromlen. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~83389 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=c275f129ae7fc59bf899d0f3ddca4b2a2e3c2dd3;p=emacs.git [__GNU_LIBRARY__]: Use size_t for fromlen. --- diff --git a/lib-src/emacsserver.c b/lib-src/emacsserver.c index 05449bf6105..3d4d4cf9937 100644 --- a/lib-src/emacsserver.c +++ b/lib-src/emacsserver.c @@ -81,10 +81,16 @@ extern int errno; #define FD_ZERO(p) (*(p) = 0) #endif /* no FD_SET */ +int main () { char system_name[32]; - int s, infd, fromlen; + int s, infd; +#ifdef __GNU_LIBRARY__ + size_t fromlen; +#else + int fromlen; +#endif struct sockaddr_un server, fromunix; char *homedir; char *str, string[BUFSIZ], code[BUFSIZ];